<% import com.google.appengine.api.blobstore.BlobKey %>
<% include '/common/header.gtpl' %>

<h1>Foto-Ecke</h1>
<div>

 <% include '/common/message.gtpl' %>
<table>
	<thead>
		<tr>
			<th colspan="2">Gespeicherte Fotoalben</th>
		</tr>
	</thead>
	<tbody>
			<% request.list.each { item -> %>
	  	<tr> 
	   		<td class="albumtitel">
	   			<a title="Details anzeigen" href="/photoalben/details?key=${com.google.appengine.api.datastore.KeyFactory.keyToString(item.key)}">
	   				${item.name} (${request.anzahl[item.key]})
	   			</a>
	   		</td>
	   		<td>
	   			${item.anmerkung}
	   		</td>
	   </tr>
	   <% } %>
  		</tbody>
  	</table>

</div>
<% include '/common/footer.gtpl' %>

